import pandas as pd

stocks = []
df = pd.read_csv('all_buys_20_day_min.csv', index_col=0, low_memory=False)

for i in range(1, 11):
    for stock in df.iloc[i - 11].dropna().values:
        if stock not in stocks:
            stocks.append(stock)

# for stock in df.iloc[-1].dropna().values:
#     if stock not in stocks:
#         stocks.append(stock)

for stock in stocks:
    print(stock)
